package com.scau.hwadee.examination.mapper;

import com.scau.hwadee.examination.entity.School;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *@author YHX
 *@date 2019/7/29  9:02
 *@description
 */
public interface SchoolMapper {
    int deleteByPrimaryKey(String scId);

    int insert(School record);

    int insertSelective(School record);

    School selectByPrimaryKey(String scId);

    List<School> selectAllSchools(@Param("pageNum") int pageNum,
                                  @Param("pageSize") int pageSize);

    int updateByPrimaryKeySelective(School record);

    int updateByPrimaryKey(School record);

}